package com.ruoyi.caiwu.service.impl;

import com.ruoyi.caiwu.domain.RequestPayManageDto;
import com.ruoyi.caiwu.domain.ResponsePayManageDto;
import com.ruoyi.caiwu.mapper.CwPaymentPlanMapper;
import com.ruoyi.caiwu.service.CwPaymentPlanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CwPaymentPlanServiceImpl implements CwPaymentPlanService {
    @Autowired
    private CwPaymentPlanMapper cwPaymentPlanMapper;

    @Override
    public List<ResponsePayManageDto> selectcwPaymentPlanService(RequestPayManageDto requestPayManageDto) {
        List<ResponsePayManageDto> list=  cwPaymentPlanMapper.selectcwPaymentPlanService(requestPayManageDto);
        return list;
    }

    @Override
    public void updatePayMent(String str1, String str2) {
        cwPaymentPlanMapper.updatePayMent(str1,str2);
    }
}
